package com.bw.lyc.mvp.view.news.adapter;

import com.bw.lyc.R;
import com.bw.lyc.mvp.model.entity.ChannelEntity;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;

import org.jetbrains.annotations.NotNull;

public class UserChannelAdapter extends BaseUserChannelAdapter{
    public UserChannelAdapter() {
        super(R.layout.item_channel);
        addChildClickViewIds(R.id.channel_item_del_img);
    }

    @Override
    protected void convert(@NotNull BaseViewHolder baseViewHolder, ChannelEntity.Values values) {
        baseViewHolder.setText(R.id.channel_item_tv,values.channel_name);
    }
}
